package com.sampleCodesJava.day3;

public class StudentRecord {

	private String name;
	private String address;
	private double mathGrade;
	private double average;
	private static int studentCount = 5;

	// Constructors
	public StudentRecord() {
	}

	public StudentRecord(String inputName) {
		this.name = inputName;

	}

	public StudentRecord(String inputName, String inputAddress) {
		this.name = inputName;
		this.address = inputAddress;
	}

	public StudentRecord(String inputName, String inputAddress, int grade) {
		this.name = inputName;
		this.address = inputAddress;
		this.mathGrade = grade;
	}

	// Getters and Setters
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public double getMathGrade() {
		return mathGrade;
	}

	public void setMathGrade(double mathGrade) {
		this.mathGrade = mathGrade;
	}

	public void setAverage(double average) {
		this.average = average;
	}

	public static void setStudentCount(int studentCount) {
		StudentRecord.studentCount = studentCount;
	}

	public double getAverage() {
		double result = 0;
		return result;
	}

	// Static Methods
	public static int getStudentCount() {
		return studentCount;
	}

	public static void print(String name) {
		System.out.println(name);
	}

	public static void print(String firstName, String lastName) {
		System.out.println();
	}

}
